package com.ldcc.report_system.api.param;

import androidx.annotation.NonNull;

/**
 * @author wwg
 * @version JDK 11
 * @description 分页信息封装
 * @create 2021-10-13 11:18
 **/
public class PageParam {

    private Long size;

    private Long current;

    public PageParam() {
    }

    public PageParam(Long size, Long current) {
        this.size = size;
        this.current = current;
    }

    public Long getSize() {
        return size;
    }

    public void setSize(Long size) {
        this.size = size;
    }

    public Long getCurrent() {
        return current;
    }

    public void setCurrent(Long current) {
        this.current = current;
    }

    @NonNull
    @Override
    public String toString() {
        return "PageDomain{" +
                "size=" + size +
                ", current=" + current +
                '}';
    }
}
